package com.zline.foodraise.entity;

/**
 * Created by heshantao on 15/10/19.
 * 支付完成实体类
 */
public class PayResultBean {
    private static final String LOG_TAG=PayResultBean.class.getSimpleName();
    //支付方式
    int onlinePayMethod;
    //订单编号
    String orderCode;
    //是否支付成功。1代表成功
    int isSuccess;
    //支付错误返回的信息
    String errMsg;
    //支付凭证
    String payReturnKey;
    //项目ID
    long projectId;

    public PayResultBean() {
    }

    public PayResultBean(String errMsg, int isSuccess, int onlinePayMethod, String orderCode, String payReturnKey, long projectId) {
        this.errMsg = errMsg;
        this.isSuccess = isSuccess;
        this.onlinePayMethod = onlinePayMethod;
        this.orderCode = orderCode;
        this.payReturnKey = payReturnKey;
        this.projectId = projectId;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public int getIsSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(int isSuccess) {
        this.isSuccess = isSuccess;
    }

    public int getOnlinePayMethod() {
        return onlinePayMethod;
    }

    public void setOnlinePayMethod(int onlinePayMethod) {
        this.onlinePayMethod = onlinePayMethod;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getPayReturnKey() {
        return payReturnKey;
    }

    public void setPayReturnKey(String payReturnKey) {
        this.payReturnKey = payReturnKey;
    }

    public long getProjectId() {
        return projectId;
    }

    public void setProjectId(long projectId) {
        this.projectId = projectId;
    }
}
